import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;

public class Exanple02 {
//    public static void main (String[] args){
//        HashMap<String,String> hashMap=new HashMap<>();
//        hashMap.put("wb","123");
//        hashMap.put("res","123456789");
//        Iterator<String> iterator=hashMap.keySet().iterator();
//        while (iterator.hasNext()){
//            String key=iterator.next();
//            System.out.println(key+"1"+hashMap.get(key));
//
//
//        }
//    }
    public static void main(String[] args){
        HashMap<String,String> hashMap=new HashMap<>();
        hashMap.put("12","123456");
        hashMap.put("456","456789");
        System.out.println(hashMap.get("12"));
        Iterator<String> iterator=hashMap.keySet().iterator();
        while (iterator.hasNext());
        String key=iterator.next();
        System.out.println(key+"1"+hashMap.get(key));
    }
}
